Skip to main content

Save-IMIntegrityReport

SYNOPSIS​

Downloads Immich storage integrity reports to local storage

SYNTAX​

file (Default)​

Save-IMIntegrityReport [-Session <ImmichSession>] -Id <String> -Path <FileInfo>
[-ProgressAction <ActionPreference>] [<CommonParameters>]

csv​

Save-IMIntegrityReport [-Session <ImmichSession>] -Type <String> -Path <FileInfo>
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

Downloads either the file for a single integrity report item, or the CSV export of all items of one report type. The Path parameter is the full destination file path, because the server does not provide a usable file name for these downloads.

EXAMPLES​

EXAMPLE 1​

Save-IMIntegrityReport -Type 'checksum_mismatch' -Path 'C:\Reports\checksum-mismatch.csv'

Exports all checksum mismatch report items to a CSV file.

EXAMPLE 2​

Get-IMIntegrityReport -Type 'missing_file' | Select-Object -ExpandProperty items | Save-IMIntegrityReport -Path 'C:\Reports\missing.txt'

Downloads the file of the first missing file report item. Save each item to a unique path when you need more than one file.

PARAMETERS​

-Session​

Optionally define an Immich session object to use. This is useful when you are connected to more than one Immich instance.

Type: ImmichSession
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id​

The UUID of the integrity report item whose file to download. Accepts pipeline input. Used by the file parameter set.

Type: String
Parameter Sets: file
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Type​

The integrity report type to export as CSV. Used by the csv parameter set.

Type: String
Parameter Sets: csv
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path​

The full path of the local file to write.

Type: FileInfo
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

NOTES​

EDIT THIS DOC​

This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.